*{
    margin: 0;
    padding: 0;
}
body{
    width: 100%;
    height: 100%;
    /* background-image: url(../images/login_bg.jpg); 以后都写绝对路径 */
    /* background 复写 不能加-image */
    /* background: url('https://picsum.photos/1920/1080?random=1'); */
    background: url('/assets/images/login_bg.jpg') no-repeat top center;
    background-size:cover;
}
.layui-main{
    padding-top: 20px;
}

/* 2.注册登录区域  */
.login-reg{
    position: fixed;
    top:50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 400px;
    height: 310px;
    background-color: #fff;
}
/* 登录标题 */
.title-box{
    height: 60px;
    background: url('/assets/images/login_title.png') no-repeat center;
}

#loginBox,
#regBox{
    padding: 0 30px;
}
#loginBox a,
#regBox a{
    font-size: 12px;
}

/* 输入框的每项 */
.layui-form-item {
    position: relative;
}
/* 字体图标 */
.layui-icon-username,
.layui-icon-password{
    position: absolute;
    top: 10px;
    left: 10px;
}

.layui-input{
    padding-left: 30px;
}
